package tech.ezrealc.fall2023.model.affair.department.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import tech.ezrealc.fall2023.model.affair.department.DepartmentDO;
import tech.ezrealc.fall2023.model.affair.department.DepartmentDTO;
import tech.ezrealc.fall2023.model.affair.department.DepartmentVO;

import java.util.List;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface DepartmentMapper {

    List<DepartmentDTO> toDTOList(List<DepartmentDO> departmentDOList);

    List<DepartmentVO> toVOList(List<DepartmentDTO> departmentDTOList);

}
